package com.hunan.api.catv.entity.vo;

import java.io.Serializable;
import java.util.Date;

public class TypeVo implements Serializable {
    /**
     * 类型主键
     */
    private Integer typeId;

    /**
     * 栏目
     */
    private Integer columnId;

    /**
     * 名称
     */
    private String name;

    /**
     * 0下架 1上架
     */
    private Boolean state;

    /**
     * 创建时间
     */
    private Date cTime;

    private static final long serialVersionUID = 1L;

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public Integer getColumnId() {
        return columnId;
    }

    public void setColumnId(Integer columnId) {
        this.columnId = columnId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Boolean getState() {
        return state;
    }

    public void setState(Boolean state) {
        this.state = state;
    }

    public Date getcTime() {
        return cTime;
    }

    public void setcTime(Date cTime) {
        this.cTime = cTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", typeId=").append(typeId);
        sb.append(", columnId=").append(columnId);
        sb.append(", name=").append(name);
        sb.append(", state=").append(state);
        sb.append(", cTime=").append(cTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}